package com.xl.xlservice.service;

import com.xl.xlservice.model.Order;
import com.xl.xlservice.model.User;

import java.util.List;

public interface UserService {
    /**
     * 新增用户
     * @param user
     */
    public void addUser(User user) throws Exception;

    /**
     * 查询用户
     * @param user
     * @return
     */
    public List<User> queryUser(User user);

    public List<Order> queryOrder(Order order);
}
